$(document).ready(function() {
    $('#live').on('click', function() {
        ajaxXHR('post', url + 'v1/order/complete', function(data) {
            console.log(data);
            $('.modal-body').html('已经成功入住！');
            $('.modal').modal('show');

        }, {
            orderId: $('#orderNo').val()
        }, 'json');
    });
});